google.golang.org/grpc.retryThrottler.tokens (field)
9 uses
google.golang.org/grpc (current package)
clientconn.go#L1147: tokens: cc.sc.retryThrottling.MaxTokens,
clientconn.go#L1754: tokens float64 // TODO(dfawley): replace with atomic and remove lock.
clientconn.go#L1766: rt.tokens--
clientconn.go#L1767: if rt.tokens < 0 {
clientconn.go#L1768: rt.tokens = 0
clientconn.go#L1770: return rt.tokens <= rt.thresh
clientconn.go#L1779: rt.tokens += rt.ratio
clientconn.go#L1780: if rt.tokens > rt.max {
clientconn.go#L1781: rt.tokens = rt.max
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)